Revert "[Core] Cleanup to previous commit"

This reverts commit d68282dd2ea1610f185259354cb3df4d1d546491.
Revert "[Core] Improved perf of Project.Files.GetFile() and GetFileWithVirtualPath()"

This reverts commit 5ac5a74482e98dcb23f65df240e893cd42b4970f.