fixes logical error in week3 ass02: regular size files ok