Added helper method to upload files from requests