added the option of providing the mybatis component with an inputstream instead of a string path to file. added test