map_input for create_box from file