in reply to Re^4: Parse file and creating hashes
in thread Parse file and creating hashes

Yep, Remove the backslash before $file in the open statement.