Allowing data to be set from a callback per file