Allowed res to work with symlinks