enumerate must start from file beginning