File and directory cleanup for session 4