create resource for writing configuration file