general cleanup of the files