Fixed some issues with paths of files.