Deleting files and adding to ignore