resources directory parsing