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