selecting resource file