Generates template for new files