cleanup file a bit