Cleaning up fileloader. Introduced a likely memory leak with objmodel deconstructor removal