Added control if out file exists in getFlashResult function.