Create resource file