Error graphics is created in case of empty file name