file parser class can return an array of files in a given directory