Handled case, when files are unable to be opened.