Added file name prefix and postfix support