compiling to one file