Test if source is a file with wrong extension