Refactored file so that it doesn't save the contents.