Write locations to file system.
Remove extraneous logs.