working document feeder. Returning json array of filenames