Check against file not a folder