added option to leave filename alone