check in resource file