debug code for fileOps