handle from file exceptions