put file on thread