issue #17 : Handle logic for local/remote treks file download