Some initial work to move to single file_context instance per file.