Added simpleWrite and changed fileLocator