from file positions