remove file type from cname