Commit: add the functionality: output all positions to certain file.