FromFile() public static method

public static FromFile ( string fileName ) : SuggestionFileModel
fileName string
return SuggestionFileModel
        public SuggestionFileModel GetCurrentFileModel()
        {
            if (_model == null)
            {
                string assembly = Assembly.GetExecutingAssembly().Location;
                string folder   = Path.GetDirectoryName(assembly);
                string fileName = Path.Combine(folder, "JSON\\Schema\\", Constants.SUGGESTIONS_FILENAME);

                _model = SuggestionFileModel.FromFile(fileName);
            }

            return(_model);
        }