Added controls for opening a file