creates files
appname sub