upload a file that exists when a argument is provided

No arguments is provided, this operates as before.