private byte[] getBytesFromFile(string path) { try { byte[] data = File.ReadAllBytes(path); return data; } catch { return null; } }