Improve fileExtension option

Check file whose fullname is the same as matching extension