rename list_files to list_devices