Added a a functions file for file utilities