use config file for files address and cache limit
remove files in directory on rebuild