filemap: bacth mode