trimmed stegdetect. compiles but when passed a file name, seg faults.