add option to return file name in different formats