Changed File class to Platform.IFile.