Implemented upload file for windows/osx