added multifile and sharing