file to hash(simple)