Added option to put a pre string before file name.