get file's type && special character added