fix File#create
fix warnings
fix shared