Updated to check for file new lines