added functions to deal with a new readedf package made by Yura