change track loading to use stdio (FILE)