deletes unneccassary file