* bugfix in createFileState