extra try to open file. Attemp to catch java exception
bugfix of try image reading