add function ReadFromFile and block try - catch