added open file option