Relative file path bug