persist the file