FORGE-923: Fixed ProjectFactory and now supporting FileResource instead of only DirectoryResource