migrate from file to READER