Output file to USB Drive & bug fixes