checking resource files