improved CLI to choose filepath