Moved the context and file utilities classes to the core library.