It may happen that you were trying to save a webpage or document that was generated through a Java Servlet program and it was saved as a .do file. There is no real way how you can convert do to pdf however, as in this case you need to print the webpage as PDF and avoiding the save function that downloads the .do file.
Open DO file Open PDF file