class MarkdownExec::SavedFilesMatcher

def self.most_recent(folder, glob, arr = nil)

Retrieves the most recent file from the specified folder that matches the given glob pattern
def self.most_recent(folder, glob, arr = nil)
  arr = list_all(folder, glob) if arr.nil?
  return if arr.count < 1
  arr.max
end