Changed to tracks.py
Fix files unit test and compattbiliy with python 2.6