Read source and data files from the main directory