Added getRelativePath method