using SDL file io
clear code