public byte[] LoadFile(string filePath, LoadMode mode) { if (string.IsNullOrEmpty(filePath)) { throw new ArgumentNullException("invalid path"); } filePath = GetAbsolutePath(filePath, mode); return(m_Loader.LoadFile(filePath, mode)); }