Allow context to be loaded from a file