Removing unwanted file for python script