template for file creation within python