input of bullet_file is of type File, fixed that