fixed read file paths