Format resource files