Return proper error message if no filename given for rendering