Add overloads for getFile and getFileOrSTDIN which take a const char *