fixed uniqueness in file classes