Making resolving of filenames only apply to paths that start with . or /