add ReadFromFile class

new ReadFromDB class