added completed flag to file object