getPositionsFromPosFile should now work as intended