Make file read asynchronous; Fix filepath bug