added memory clear after files parsing
added photos, updated parser