don't try to copy the template if file was not created