Correct code to obtain absolute paths.