small fixes in Filemap