checker for files + using config to get filesPath location