upload file and display contents