Updated to create directory and properties file after generating UseResource key