Please use helper functions in `src/base/file_util.h`