Added some basic utility functions to access training files more easily