implement more file-related api requests