added function for opening files on github