Put in basic code for opening a file