Add list_files and get_random_id.