parseFile uses length now