Able to open file using -f option