Added newlines at the end file where missing