getting frequencies from hand-edited file