public bool FileExists(string path) { if(path == null) { throw new ArgumentNullException(path); } return GetFileId(path).HasValue; }