made conditions file; introducing file reading for names