Allows us to open from a file by clicking button