Set-up working directory and datafile source