fixed SiteFile::createFromPath