simplify the path using guava since getPath doesnt resolve dot and dot dot