We want our framework to be OS independent, passing such paths is not a good way. You can pass relative path (something like ../_har), second of all you should use java File.separator instead of "\" and third of all, what is the purpose of this class, and this particular file path?