started writing file utils