Commit to filemap immediately after a file is processed