Fixed, "filename" is now changed to "tempFileName".