Add file api example.