Detection of relative file paths now compatible with all OSes.