files and directory clean up