Begin support for filenames and direct downloads
Beta version for filenames using javascript.