Fixed hashmap/filewriter eof location