fix fileutils, work in eclipse
fix gui issue