Create file upon the first scanned barcode.

Signed-off-by: Mariusz Fik <fisiu@fidano.pl>