Pass original file name to preserve file extensions.