add stat work with file