loading files to hashmap