added delegate to specify video capture file name