made filename more descriptive by incorporating the first h1 into the filename
added handling for internationalization in filenames