getting the path and last modifications