Added excpetion handling to stop falling over when trying to delete
nonexistent files