Changes to DataCreator

Added separate readFromFile().
readFromFile and writeToFile now both take filePath.