Added the function to normalize file pathes.