There is no isfile, it's isreg :)