Make isFile second argument