Note final path name after encoding.
Fix fileInfo variable name.