adding api-functions/create_file.rb
Wiring up api calls