Finds relative file path via ugly hack