Started to constify everything. The FileManager now returns a ConstSharedResource to prevent changes.