Bugfix for title parameter if none specified
Change in generating filename