still doesnt work for blank/1line files