read path entirely from file