Using file.relativepath to get file path stuff working better on non-Windows