ffz() takes ints, so change the file_map to being int based