static public Stream TextureFileOpenRead(string nameNoExt, StorageSource sources, TextureFileType fileType) { string filePath = string.Format(FULL_FILE_PATH_FORMAT, nameNoExt, fileType.ToString()); if (FileExists(filePath, sources)) { return(OpenRead(filePath, sources)); } throw new FileNotFoundException(String.Format("Texture2D file not found in {0}: {1}", sources, nameNoExt)); }