Implement `single_file` option