Generating loader in a single file.