Some editing to filestat