def METHOD_NAME(self):
    file_created = wait_until_true(self.path.exists)
    if file_created:
        logger.debug("File has been created: {}".format(self.path))
    else:
        raise Exception("File was not created in time: {}".format(self.path))
    return file_created