expanding read_dir to be more pretty