Fixed things in fileHandler