bearcatenate and print files