pplication will create directory if it does not already exist