fix. issues#6 to open file