Replaced hard-coded dummy file and path to chosen file path