Add file empty check