Added basePath to config
Added pathDiff to FileUtils