[Added] reading history from file