Made out path and file removal configurable