Loader in separate file