Remove useless function
User can add a 'nameGenerator' as parameter, to customize the stored file's name