read from resources folder implemented