Remove junk code while checking for isAFileOperation