What do you think about incapsulating this line in the function ```is_file_info_filled``` and perhaps adding to it some other checks(st_dev for example)?