Reorganize file loading to support other formats than just models. #143