Fixed bug where the file_id is not set when the file contains a directory at the end of the file, by :newcontrib:`Théodore Papadopoulo`.
Fixed bug where the file_id is not set when the file contains a directory at the end of the file, by :newcontrib:`Théodore Papadopoulo`.