[sandbox]modify some functions about file