-record(stat, {is_directory :: boolean()}).