create resource file