add hash calc support for AbstractFile