fixed error with parsing of file data for deletion