added current page name to filename