newlines at the end of files
generating middleware