Added more stuff to fileutil, fixed logs