replace ./ with empty
add process of /../ in path