def operation_file(uploader, cmd, filename=''):
    if cmd == 'list':
        uploader.file_list()
    if cmd == 'do':
        for path in filename:
            uploader.file_do(path)
    elif cmd == 'format':
        uploader.file_format()
    elif cmd == 'remove':
        for path in filename:
            uploader.file_remove(path)
    elif cmd == 'print':
        for path in filename:
            uploader.file_print(path)
Prints the specified message with red text as well as to a file.
dataset/ETHPy150Open kmpm/nodemcu-uploader/nodemcu_uploader/main.py/operation_file--crossover with--dataset/ETHPy150Open AppScale/appscale-tools/lib/appscale_logger.py/AppScaleLogger.warn