Added method to get base folder for file handler