Resource file generation