I think you need to remove this like and any instances of `_open_file`