add a file option working