Added get_first_file_path, refactored get_first_dir_path