Read directory from txt file