changed read commands to find files in data folder