def format_file_params(files):
        '''
            Utility method for formatting file parameters for transmission
        '''
        files_payload = {}
        if files:
            for idx, filename in enumerate(files):
                files_payload["file[" + str(idx) + "]"] = open(filename, 'rb')
        return files_payload
Utility method for formatting file parameters for transmission