add entry from file