Use some very nice goto
Removed some ifs
Removed another if
more goto in readfile
Added recursion
Removed if statements