added file upload convertation for bash