Check the file name as well to ensure it delete the correct files.