Adapted NewFile