Cover use of `file_get_contents` with a directory