Adds global path to the file