The previous unlink function's purpose was to perform standard log file clean up. Since the new standard log clean up involves removing rotated (and possibly compressed) files, the function needs to be extended.