Added file placement flag
Corrected path for choosing directory where file is stored