Compiling, works for large file