added option to have a sufix on the file name.
fixed method visibility to enable override