Added a helper method to get the Python Package String from a root directory and a Python file