Removing unused files and session cookie