Split the management of the current file into its own package, supporting the critcl core.