support resource file load