public AssetFileInfo(string path)
{
this.Name = Path.GetFileName (path);
this.FullName = path;
this.DirectoryName = Path.GetDirectoryName (path);
this.Guid = AssetDatabase.AssetPathToGUID (path);
this.Type = GetTypeForExtension (Path.GetExtension (path));
}