Parses file names of a specific format into a JSON file