fix(fileops): fileops now work in checking whether a file exists in a directory