cleaning up files and file structures