revert isFile