Remove redundant file path.