start of file clean up