Removing empty statements from output file.