fixed export_file boolean