Added the commons component to the pom.
ResourceFile class and test cases.