filepaths from tree and file node now passed through method to handle relative and home paths (~/path)