Converting .bsg.txt to .bsg files