Added a way to open files from within the program.