add class to handle directory where files will be saved