- fixed isFile regex