Handle relative paths