Added feature to open file.