fix security issue with file type determination.
edit pod.