Correct mistakes in filemap