Operates with a single file, unable to iterate through all the files