added added a file directory reading function