fixed some bugs
change sharh name to file