Added option -f to open file