Added file opening skeleton