updated io/upload-file to use a system relative path