Write + remove func. Got rid of stale folder