retain the original filename

closes #3