deletes excess files and text