"main" file becomes index of library.compiled