replaced path with file