lots of front end file cleanup