FIX BUGS: readfile handling error #136