Added file opening feature. Crashes occur with large files.