moving resources to resource file