Also clean beginning of file and empty lines