Add function to clear all empty lines from files