added get_file api method and changed name: get_files --> list_files