Build file and stubs