split resources into separate files