Test prefixing hyphen on checking if  file is pdf