read resources from files
Merge pull request #27 from ousado/genpy

read resources from files