Code cleanup

So the createFile and setPath stuff has moved to the DataOperations
Helper.
Also some unused stuff has been removed.