Adding little function to safely cat files