upload file to server functionality
ignore upload files