Throw exception if file not exist
Check file before delete