'Add a new version for a file.'

def CreateFileVersions(self, client_id, file_path):

    with test_lib.FakeTime(self.time_1):
        token = access_control.ACLToken(username='test')
        fd = aff4.FACTORY.Create(client_id.Add(file_path), aff4.AFF4MemoryStream, mode='w', token=token)
        fd.Write('Hello    World')
        fd.Close()
    with test_lib.FakeTime(self.time_2):
        fd = aff4.FACTORY.Create(client_id.Add(file_path), aff4.AFF4MemoryStream, mode='w', token=token)
        fd.Write('Goodbye    World')
        fd.Close()
