added file open feature.