Allow the path for file in the sources to be relative to the from path passed in the options

Allow for from option to be passed so that file source can be relative to that folder path.