When using input file (as opposed to input data), make all paths relative; plus fix the slashes in these paths on win32 only